


<!DOCTYPE html>
<html id="htmlId">
<head>
  <title>Coverage Report > DuplicatesHandlerImpl</title>
  <style type="text/css">
    @import "../../css/coverage.css";
    @import "../../css/idea.min.css";
  </style>
  <script type="text/javascript" src="../../js/highlight.min.js"></script>
  <script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>

<body>
<div class="content">
<div class="breadCrumbs">
Current scope:     <a href="../../index.html">all classes</a>
    <span class="separator">|</span>
    <a href="../index.html">com.it</a>
</div>

<h1>Coverage Summary for Class: DuplicatesHandlerImpl (com.it)</h1>

<table class="coverageStats">
<tr>
  <th class="name">Class</th>
<th class="coverageStat 
">
  Class, %
</th>
<th class="coverageStat 
">
  Method, %
</th>
<th class="coverageStat 
">
  Line, %
</th>
</tr>
<tr>
  <td class="name">DuplicatesHandlerImpl</td>
<td class="coverageStat">
  <span class="percent">
    100%
  </span>
  <span class="absValue">
    (1/1)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    92.3%
  </span>
  <span class="absValue">
    (12/13)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    92.9%
  </span>
  <span class="absValue">
    (13/14)
  </span>
</td>
</tr>

</table>

<br/>
<br/>


<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package com.it;
&nbsp;
&nbsp;import java.util.Iterator;
&nbsp;import java.util.List;
&nbsp;
&nbsp;import com.it.alg.DupAlgorithm;
&nbsp;import com.it.io.ByteArrayIOSequence;
&nbsp;import com.it.io.CharArrayIOSequence;
&nbsp;import com.it.io.IntArrayIOSequence;
&nbsp;import com.it.io.IteratorIOSequence;
&nbsp;import com.it.io.ListIOSequence;
&nbsp;import com.it.io.LongArrayIOSequence;
&nbsp;import com.it.io.ShortArrayIOSequence;
&nbsp;import com.it.io.FloatArrayIOSequence;
&nbsp;import com.it.io.DoubleArrayIOSequence;
&nbsp;import com.it.io.BooleanArrayIOSequence;
&nbsp;import com.it.io.ObjectArrayIOSequence;
&nbsp;import com.it.io.StringIOSequence;
&nbsp;
&nbsp;public class DuplicatesHandlerImpl implements DuplicatesHandler {
&nbsp;
&nbsp;	private DupAlgorithm algorithm;
&nbsp;	
<b class="fc">&nbsp;	public DuplicatesHandlerImpl(DupAlgorithm algorithm) {</b>
<b class="fc">&nbsp;		this.algorithm = algorithm;</b>
&nbsp;	}
&nbsp;	
&nbsp;	@Override
&nbsp;	public String eliminate(String input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new StringIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public Object[] eliminate(Object[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new ObjectArrayIOSequence&lt;Object&gt;(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public char[] eliminate(char[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new CharArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public byte[] eliminate(byte[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new ByteArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public short[] eliminate(short[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new ShortArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public int[] eliminate(int[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new IntArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public long[] eliminate(long[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new LongArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public float[] eliminate(float[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new FloatArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public double[] eliminate(double[] input) {
<b class="nc">&nbsp;		return algorithm.execute(() -&gt; new DoubleArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public boolean[] eliminate(boolean[] input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new BooleanArrayIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public &lt;E&gt; Iterator&lt;E&gt; eliminate(Iterator&lt;E&gt; input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new IteratorIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;	@Override
&nbsp;	public &lt;E&gt; List&lt;E&gt; eliminate(List&lt;E&gt; input) {
<b class="fc">&nbsp;		return algorithm.execute(() -&gt; new ListIOSequence(), input);</b>
&nbsp;	}
&nbsp;
&nbsp;}
</code>
</pre>
</div>

<script type="text/javascript">
(function() {
    var msie = false, msie9 = false;
    /*@cc_on
      msie = true;
      @if (@_jscript_version >= 9)
        msie9 = true;
      @end
    @*/

    if (!msie || msie && msie9) {
      hljs.highlightAll()
      hljs.initLineNumbersOnLoad();
    }
})();
</script>

<div class="footer">
    
    <div style="float:right;">generated on 2023-07-04 12:48</div>
</div>
</body>
</html>
